package com.yupi.oj.judge.judgestrategy;

import com.yupi.oj.model.dto.questionsubmit.JudgeInfo;
import com.yupi.oj.model.entity.Question;
import com.yupi.oj.model.entity.QuestionSubmit;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

// 策略上下文
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class StrategyContext {
    private JudgeInfo judgeInfo;//沙箱返回的判断信息

    private Question question;//题目信息

    private List<String> outputList;//预期输出结果

    private List<String> judgeOutputList;//代码沙箱机输出结果

    private QuestionSubmit questionSubmit;//题目的提交记录

}
